package com.wbt.common.beans;

import lombok.Data;

@Data
public class Developer extends User{

    private String dec;

    public String getDec() {
        return dec;
    }

    public void setDec(String dec) {
        this.dec = dec;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Developer{");
        sb.append("id='").append(getId()).append('\'');
        sb.append(", userName='").append(getUserName()).append('\'');
        sb.append(", age=").append(getAge());
        sb.append(", work='").append(getWork()).append('\'');
        sb.append(", dec='").append(dec).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
